#ifndef _DBELEMENTPROVIDER_H
#define _DBELEMENTPROVIDER_H


#include <string>
using namespace std;
/**
 * This objects contains all the necessery values for the database. This valuse are :
 * database name
 * username
 * password
 */
class DbElementProvider {
  public:
	/**
	 * If the instance of the this object is NULL, it creates and returns one
	 */
    static DbElementProvider * getInstance();

   /**
    * Return database name
    * \return string *, the database names
    */
    const string * getDbName() const;

   /**
    * Return user username
    * \return string *, username
    */
    const string * getUsername() const;

   /**
    * Returns user's password
    * \return string *, user password
    */
    const string * getPassword() const;


  private:
    /**
     * Set values to default
     */
    DbElementProvider();

    static DbElementProvider * instance_;

    const string * DB_NAME;

    const string * USERNAME;

    const string * PASSWORD;

};
#endif
